import localStorageUtil from '@/utils/localStorageUtil'
import sessionStorageUtil from '@/utils/sessionStorageUtil'


const queryType = {
  state: {
    organQueryType: [],
    goodsTypeQueryType: []
  },
  mutations: {
    SET_ORGAN_QUERY_TYPE: (state, organQueryType) => {
      state.organQueryType = organQueryType
    },
    SET_GOODS_TYPE_QUERY_TYPE: (state, goodsTypeQueryType) => {
      state.goodsTypeQueryType = goodsTypeQueryType
    }
  },
  actions: {
    setOrganQueryType({ commit }, state) {
      commit('ORGAN_QUERY_TYPE', state.organQueryType)

    },
    setGoodsTypeQueryType({ commit }, state) {
      commit('GOODS_TYPE_QUERY_TYPE', state.goodsTypeQueryType)

    },
  }
}

export default queryType
